package com.jxdinfo.hussar.cloud.module.example.tjjc.towernoticeperson.dao;

import com.jxdinfo.hussar.support.mp.base.mapper.HussarMapper;
import org.springframework.stereotype.Repository;
import com.jxdinfo.hussar.cloud.module.example.tjjc.towernoticeperson.model.TowerNoticePerson;
import org.apache.ibatis.annotations.Mapper;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import org.apache.ibatis.annotations.Param;
import com.baomidou.mybatisplus.core.toolkit.Constants;

/**
 * 塔机通知人员Mapper接口
 */
@Mapper
@Repository("tjjc.towernoticeperson.TowerNoticePersonMapper")
public interface TowerNoticePersonMapper extends HussarMapper<TowerNoticePerson> {
    int updateNoticeReadStatus(@Param("noticeId") String noticeId,@Param("userId") String userId);

    void updateAllNoticeReadStatus(@Param("userId") String userId);
}
